package com.zh.pojo.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * <p>
 * 其他费用：税，渠道费
 * </p>
 *
 * @author 初四
 * @since 2024-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_profitsharing_rule_other_fee")
@Schema(name = "ProfitsharingRuleOtherFee对象", description = "其他费用：税，渠道费")
public class ProfitsharingRuleOtherFee implements Serializable {

    private static final long serialVersionUID=1L;
    /**
     * ID
     */
    @Schema(name = "id", description = "ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 比例
     */
    @Schema(name = "amountRate", description = "比例")
    @TableField("amount_rate")
    private BigDecimal amountRate;
    /**
     * 1.税 2.支付渠道费
     */
    @Schema(name = "type", description = "1.税 2.支付渠道费")
    @TableField("type")
    private Integer type;

}
